from rest_framework.generics import ListAPIView
from rest_framework.viewsets import ModelViewSet
from gathering.gathering_serializers import *
from gathering.paginators import MyPage

#活动列表
class GatheringView(ModelViewSet):
    queryset = Gathering.objects.all()
    serializer_class = GatheringsSerializer
    pagination_class = MyPage


